package dhm.com.dhmshop.entity;

import java.util.List;

public class FunctionBean {

    /**
     * code : 1
     * message : 获取成功
     * data : [{"id":117,"catId":18,"dataName":"功能异常","dataVal":"1","dataSort":0,"dataFlag":1,"subCatId":0,"subDataVal":0},{"id":118,"catId":18,"dataName":"体验问题","dataVal":"2","dataSort":0,"dataFlag":1,"subCatId":0,"subDataVal":0},{"id":119,"catId":18,"dataName":"新功能建议","dataVal":"3","dataSort":0,"dataFlag":1,"subCatId":0,"subDataVal":0},{"id":120,"catId":18,"dataName":"其他","dataVal":"4","dataSort":0,"dataFlag":1,"subCatId":0,"subDataVal":0}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 117
         * catId : 18
         * dataName : 功能异常
         * dataVal : 1
         * dataSort : 0
         * dataFlag : 1
         * subCatId : 0
         * subDataVal : 0
         */

        private int id;
        private int catId;
        private String dataName;
        private String dataVal;
        private int dataSort;
        private int dataFlag;
        private int subCatId;
        private int subDataVal;
        private boolean checked=false;

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getCatId() {
            return catId;
        }

        public void setCatId(int catId) {
            this.catId = catId;
        }

        public String getDataName() {
            return dataName;
        }

        public void setDataName(String dataName) {
            this.dataName = dataName;
        }

        public String getDataVal() {
            return dataVal;
        }

        public void setDataVal(String dataVal) {
            this.dataVal = dataVal;
        }

        public int getDataSort() {
            return dataSort;
        }

        public void setDataSort(int dataSort) {
            this.dataSort = dataSort;
        }

        public int getDataFlag() {
            return dataFlag;
        }

        public void setDataFlag(int dataFlag) {
            this.dataFlag = dataFlag;
        }

        public int getSubCatId() {
            return subCatId;
        }

        public void setSubCatId(int subCatId) {
            this.subCatId = subCatId;
        }

        public int getSubDataVal() {
            return subDataVal;
        }

        public void setSubDataVal(int subDataVal) {
            this.subDataVal = subDataVal;
        }
    }
}
